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AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B;;AAE1B;AACA;;AAEA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,MAAM;;AAEN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,uBAAuB;AAC7C;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA,sBAAsB,mBAAmB;AACzC;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,+BAA+B,mBAAmB;;AAElD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+CAA+C;;AAE/C;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAQ;AACR;;AAEA;AACA;AACA;AACA,8HAA8H,gBAAgB;AAC9I,mIAAmI,gBAAgB;AACnJ;AACA;;AAEA;AACA;AACA;AACA,sBAAsB,uBAAuB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,uBAAuB;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;UChfD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;;;;;;;;ACNyB;AACC;AACI;AACE;AACJ;AAC5B;AAC2B","sources":["webpack:///./src/scripts/custom/adSpace.js","webpack:///./src/scripts/custom/check_box.js","webpack:///./src/scripts/custom/custom.js","webpack:///./src/scripts/custom/extract.js","webpack:///./src/scripts/custom/lightbox.js","webpack:///./src/scripts/custom/rellax-bois.js","webpack:///./node_modules/extract-colors/dist/extract-colors.umd.js","webpack:///./node_modules/rellax/rellax.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///./src/scripts/custom.js"],"sourcesContent":["// Returns an array of dates between the two dates\r\nfunction getDates(startDate, endDate) {\r\n const dates = [];\r\n let currentDate = startDate;\r\n const addDays = function (days) {\r\n const date = new Date(this.valueOf());\r\n date.setDate(date.getDate() + days);\r\n return date;\r\n };\r\n while (currentDate <= endDate) {\r\n dates.push(currentDate.toLocaleDateString(\"nl\"));\r\n currentDate = addDays.call(currentDate, 1);\r\n }\r\n return dates;\r\n}\r\n\r\nfunction dateCheckApply(\r\n fieldIdStart,\r\n fieldIdEnd,\r\n currentDate,\r\n daysField,\r\n fieldId,\r\n disabledArray\r\n) {\r\n if (fieldId == fieldIdStart) {\r\n startDate = currentDate;\r\n }\r\n\r\n if (fieldId == fieldIdEnd) {\r\n endDate = currentDate;\r\n }\r\n\r\n if (typeof startDate !== \"undefined\" && typeof endDate !== \"undefined\") {\r\n var disabledDays = disabledArray;\r\n var startSplit = startDate.split(\"-\");\r\n var endSplit = endDate.split(\"-\");\r\n var inputField = document.getElementById(daysField);\r\n var event = new Event(\"change\", {\r\n bubbles: true,\r\n cancelable: true,\r\n });\r\n var dateStart = new Date(startSplit[2], startSplit[1], startSplit[0]);\r\n var dateEnd = new Date(endSplit[2], endSplit[1], endSplit[0]);\r\n\r\n var dateRange = getDates(\r\n new Date(startSplit[2], startSplit[1] - 1, startSplit[0]),\r\n new Date(endSplit[2], endSplit[1] - 1, endSplit[0])\r\n );\r\n console.log(disabledDays);\r\n // console.log(dateRange);\r\n const filteredArray = disabledDays.filter((value) =>\r\n dateRange.includes(value)\r\n );\r\n // console.log(filteredArray);\r\n if (filteredArray.length === 0) {\r\n var diff =\r\n (dateEnd.getTime() - dateStart.getTime()) / (1000 * 3600 * 24) + 1;\r\n var dateDiff = Math.round(diff);\r\n inputField.value = dateDiff;\r\n next = document.getElementById(\"gform_next_button_4_32\");\r\n\r\n // console.log(\"Van: \" + dateStart);\r\n // console.log(\"Tot: \" + dateEnd);\r\n // console.log(\"Dagen: \" + dateDiff);\r\n\r\n inputField.dispatchEvent(event);\r\n\r\n if (dateDiff <= 29) {\r\n if (next) {\r\n next.style.cursor = \"not-allowed\";\r\n next.style.pointerEvents = \"none\";\r\n next.style.opacity = \"0.5\";\r\n }\r\n\r\n alert(\r\n `Er moeten minimaal 30 dagen tussen de start- en einddatum in zitten. Vul a.u.b. een andere reeks in`\r\n );\r\n\r\n jQuery(function ($) {\r\n $(`#input_4_${fieldIdEnd}`).datepicker(\"setDate\", null);\r\n });\r\n } else if (dateDiff >= 30) {\r\n // next.style.cursor = \"pointer\";\r\n // next.style.pointerEvents = \"initial\";\r\n // next.style.opacity = \"1\";\r\n } else if (filteredArray.length >= 1) {\r\n jQuery(function ($) {\r\n $(`#input_4_${fieldIdStart}`).datepicker(\"setDate\", null);\r\n $(`#input_4_${fieldIdEnd}`).datepicker(\"setDate\", null);\r\n document\r\n .getElementById(`#input_4_${fieldIdStart}`)\r\n .datepicker(\"setDate\", null);\r\n document\r\n .getElementById(`#input_4_${fieldIdEnd}`)\r\n .datepicker(\"setDate\", null);\r\n });\r\n\r\n alert(\r\n `Er bevindt zich al bezette data tussen ${startDate} en ${endDate}. Vul a.u.b. een andere reeks in`\r\n );\r\n }\r\n }\r\n }\r\n}\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n if (document.getElementsByClassName(\"datepicker\").length >= 1) {\r\n gform.addFilter(\r\n \"gform_datepicker_options_pre_init\",\r\n function (optionsObj, formId, fieldId) {\r\n optionsObj.minDate = +1;\r\n return optionsObj;\r\n }\r\n );\r\n }\r\n});\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n var datesHomeHead = new Array();\r\n var datesHomeNext = new Array();\r\n var datesJobOverView = new Array();\r\n var datesJobPage = new Array();\r\n var datesBlog = new Array();\r\n\r\n fetch(\"/wp-admin/admin-ajax.php?action=vgf_ajax_date_blocker\")\r\n .then((data) => {\r\n return data.json();\r\n })\r\n .then((dates) => {\r\n // console.log(dates);\r\n for (var i in dates.home_header) {\r\n datesHomeHead.push(dates.home_header[i]); // push the date to our array for checking afterwards\r\n }\r\n for (var i in dates.home_next) {\r\n datesHomeNext.push(dates.home_next[i]); // push the date to our array for checking afterwards\r\n }\r\n for (var i in dates.job_overview) {\r\n datesJobOverView.push(dates.job_overview[i]); // push the date to our array for checking afterwards\r\n }\r\n for (var i in dates.job_page) {\r\n datesJobPage.push(dates.job_page[i]); // push the date to our array for checking afterwards\r\n }\r\n for (var i in dates.blog) {\r\n datesBlog.push(dates.blog[i]); // push the date to our array for checking afterwards\r\n }\r\n });\r\n if (document.getElementsByClassName(\"datepicker\").length >= 1) {\r\n gform.addFilter(\r\n \"gform_datepicker_options_pre_init\",\r\n function (optionsObj, formId, fieldId) {\r\n if (formId == 4) {\r\n optionsObj.firstDay = 1;\r\n }\r\n\r\n //homepage header\r\n if (formId == 4 && (fieldId == 11 || fieldId == 12)) {\r\n optionsObj.onSelect = function (currentDate) {\r\n //Homepage tussen header en vacatures\r\n dateCheckApply(\r\n 11,\r\n 12,\r\n currentDate,\r\n \"input_4_21\",\r\n fieldId,\r\n datesHomeHead\r\n );\r\n };\r\n }\r\n\r\n if (formId == 4 && (fieldId == 15 || fieldId == 16)) {\r\n optionsObj.onSelect = function (currentDate) {\r\n //Homepage tussen header en vacatures\r\n dateCheckApply(\r\n 15,\r\n 16,\r\n currentDate,\r\n \"input_4_33\",\r\n fieldId,\r\n datesHomeNext\r\n );\r\n };\r\n }\r\n\r\n if (formId == 4 && (fieldId == 38 || fieldId == 39)) {\r\n optionsObj.onSelect = function (currentDate) {\r\n //Homepage tussen header en vacatures\r\n dateCheckApply(\r\n 38,\r\n 39,\r\n currentDate,\r\n \"input_4_40\",\r\n fieldId,\r\n datesJobOverView\r\n );\r\n };\r\n }\r\n\r\n if (formId == 4 && (fieldId == 45 || fieldId == 46)) {\r\n optionsObj.onSelect = function (currentDate) {\r\n //Homepage tussen header en vacatures\r\n dateCheckApply(\r\n 45,\r\n 46,\r\n currentDate,\r\n \"input_4_47\",\r\n fieldId,\r\n datesJobPage\r\n );\r\n };\r\n }\r\n\r\n if (formId == 4 && (fieldId == 52 || fieldId == 53)) {\r\n optionsObj.onSelect = function (currentDate) {\r\n //Homepage tussen header en vacatures\r\n dateCheckApply(\r\n 52,\r\n 53,\r\n currentDate,\r\n \"input_4_54\",\r\n fieldId,\r\n datesBlog\r\n );\r\n };\r\n }\r\n\r\n if (formId == 4 && (fieldId == 11 || fieldId == 12)) {\r\n optionsObj.beforeShowDay = function (date) {\r\n var disabledDays = datesHomeHead;\r\n (currentDate = jQuery.datepicker.formatDate(\"dd-mm-yy\", date)),\r\n (day = date.getDay());\r\n\r\n return [!(disabledDays.indexOf(currentDate) != -1)];\r\n };\r\n }\r\n //homepage next to jobs\r\n if (formId == 4 && (fieldId == 15 || fieldId == 16)) {\r\n optionsObj.beforeShowDay = function (date) {\r\n var disabledDays = datesHomeNext,\r\n currentDate = jQuery.datepicker.formatDate(\"dd-mm-yy\", date),\r\n day = date.getDay();\r\n return [!(disabledDays.indexOf(currentDate) != -1)];\r\n };\r\n }\r\n\r\n if (formId == 4 && (fieldId == 38 || fieldId == 39)) {\r\n optionsObj.beforeShowDay = function (date) {\r\n var disabledDays = datesJobOverView,\r\n currentDate = jQuery.datepicker.formatDate(\"dd-mm-yy\", date),\r\n day = date.getDay();\r\n return [!(disabledDays.indexOf(currentDate) != -1)];\r\n };\r\n }\r\n\r\n if (formId == 4 && (fieldId == 45 || fieldId == 46)) {\r\n optionsObj.beforeShowDay = function (date) {\r\n var disabledDays = datesJobPage,\r\n currentDate = jQuery.datepicker.formatDate(\"dd-mm-yy\", date),\r\n day = date.getDay();\r\n return [!(disabledDays.indexOf(currentDate) != -1)];\r\n };\r\n }\r\n\r\n if (formId == 4 && (fieldId == 52 || fieldId == 53)) {\r\n optionsObj.beforeShowDay = function (date) {\r\n var disabledDays = datesBlog,\r\n currentDate = jQuery.datepicker.formatDate(\"dd-mm-yy\", date),\r\n day = date.getDay();\r\n return [!(disabledDays.indexOf(currentDate) != -1)];\r\n };\r\n }\r\n\r\n return optionsObj;\r\n }\r\n );\r\n }\r\n});\r\n","document.addEventListener('DOMContentLoaded', function () {\r\n var formclass = document.getElementsByClassName('book_ad');\r\n if (formclass.length >= 1) {\r\n \r\n // Get the checkbox ID from the URL parameter\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const checkboxId = urlParams.get('checkbox');\r\n\r\n // Check the corresponding checkbox if the ID is provided in the URL\r\n if (checkboxId) {\r\n const checkbox = document.getElementById(checkboxId);\r\n if (checkbox) {\r\n checkbox.checked = true;\r\n }\r\n }\r\n\r\n // console.log('Exists');\r\n } else {\r\n // console.log('Does not exist')\r\n }\r\n})","/* -------------------------------------------------------------------------- */\r\n/* Mobile menu */\r\n/* -------------------------------------------------------------------------- */\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n var burger = document.getElementById(\"mobileToggle\");\r\n var menu = document.getElementById(\"mobile-menu\");\r\n // console.log(\"bruh\");\r\n burger.addEventListener(\"click\", () => {\r\n if (burger.classList.contains(\"is-active\")) {\r\n burger.classList.remove(\"is-active\");\r\n menu.classList.remove(\"site-nav__mobile--wrap__menu--active\");\r\n } else {\r\n burger.classList.add(\"is-active\");\r\n menu.classList.add(\"site-nav__mobile--wrap__menu--active\");\r\n }\r\n });\r\n});\r\n\r\n/* -------------------------------------------------------------------------- */\r\n/* Mobile sub menu */\r\n/* -------------------------------------------------------------------------- */\r\ndocument.addEventListener(\"DOMContentLoaded\", () => {\r\n var subcheck = document.getElementsByClassName(\"subcheck\");\r\n for (var i = 0; i < subcheck.length; i++) {\r\n subcheck[i].addEventListener(\"click\", function () {\r\n var subMenu = this.nextElementSibling;\r\n var subChildren = subMenu.children.length;\r\n var baseHeight = 32;\r\n\r\n if (this.classList.contains(\"subcheck__active\")) {\r\n subMenu.classList.remove(\"mobile-menu__sub-menu--active\");\r\n subMenu.style.height = \"0px\";\r\n this.classList.remove(\"subcheck__active\");\r\n } else {\r\n subMenu.style.height = subChildren * baseHeight + \"px\";\r\n subMenu.classList.add(\"mobile-menu__sub-menu--active\");\r\n this.classList.add(\"subcheck__active\");\r\n }\r\n });\r\n }\r\n});\r\n\r\n/* -------------------------------------------------------------------------- */\r\n/* Nucleo icon toggle */\r\n/* -------------------------------------------------------------------------- */\r\nfunction initIntIcon(i) {\r\n i.classList.contains(\"js-nc-int-icon-loaded\") ||\r\n (i.classList.add(\"js-nc-int-icon-loaded\"),\r\n i.closest(\"svg\").addEventListener(\"click\", function (n) {\r\n i.classList.toggle(\"nc-int-icon-state-b\");\r\n }));\r\n}\r\nfor (\r\n var intIcons = document.getElementsByClassName(\"js-nc-int-icon\"), i = 0;\r\n intIcons.length > i;\r\n i++\r\n)\r\n initIntIcon(intIcons[i]);\r\n\r\n/* -------------------------------------------------------------------------- */\r\n/* Hour filter */\r\n/* -------------------------------------------------------------------------- */\r\ndocument.addEventListener(\"DOMContentLoaded\", () => {\r\n if (document.getElementById(\"vgf-job-hours\")) {\r\n var filterForm = document.getElementById(\"filterForm\");\r\n var hourSelect = document.getElementById(\"vgf-job-hours\");\r\n\r\n let submitEvent = new Event(\"change\", {\r\n cancelable: true,\r\n });\r\n\r\n hourSelect.addEventListener(\"change\", function () {\r\n console.log(hourSelect.value);\r\n var hours = document.querySelectorAll(\r\n \".job-listing-hours li input[type=checkbox]\"\r\n );\r\n\r\n for (var i = 0; i < hours.length; i++) {\r\n // console.log(hours[i].getAttribute(\"id\"));\r\n if (hourSelect.value === \"to-eight\") {\r\n for (var a = 0; a < 9; a++) {\r\n hours[i].checked = false;\r\n hours[a].checked = true;\r\n }\r\n } else if (hourSelect.value === \"to-sixteen\") {\r\n for (var a = 9; a < 17; a++) {\r\n hours[i].checked = false;\r\n hours[a].checked = true;\r\n }\r\n } else if (hourSelect.value === \"to-twentyfour\") {\r\n for (var a = 17; a < 25; a++) {\r\n hours[i].checked = false;\r\n hours[a].checked = true;\r\n }\r\n } else if (hourSelect.value === \"to-thirtytwo\") {\r\n for (var a = 25; a < 33; a++) {\r\n hours[i].checked = false;\r\n hours[a].checked = true;\r\n }\r\n } else if (hourSelect.value === \"to-forty\") {\r\n for (var a = 33; a < 41; a++) {\r\n hours[i].checked = false;\r\n hours[a].checked = true;\r\n }\r\n } else if (hourSelect.value === \"to-none\") {\r\n for (var a = 33; a < 41; a++) {\r\n hours[i].checked = false;\r\n }\r\n }\r\n hours[i].dispatchEvent(submitEvent);\r\n hours[i].addEventListener(\"change\", function () {\r\n console.log(\"i change\");\r\n });\r\n }\r\n });\r\n }\r\n});\r\n\r\n/* -------------------------------------------------------------------------- */\r\n/* Checkbox province hack */\r\n/* -------------------------------------------------------------------------- */\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", () => {\r\n if (document.getElementById(\"filter_province\")) {\r\n var filter = document.getElementById(\"filter_province\");\r\n var form = document.getElementById(\"filterForm\");\r\n // const submitEvent = new Event(\"change\", {\r\n // cancelable: true,\r\n // });\r\n var checkies = document.querySelectorAll(\r\n \".job-listing li input[type=checkbox]\"\r\n );\r\n\r\n let evt = new Event(\"change\", {\r\n cancelable: true,\r\n });\r\n\r\n filter.addEventListener(\"change\", function () {\r\n var checkies = document.querySelectorAll(\r\n \".job-listing li input[type=checkbox]\"\r\n );\r\n\r\n for (var i = 0; i < checkies.length; i++) {\r\n if (filter.value === checkies[i].value) {\r\n checkies[i].checked = true;\r\n checkies[i].dispatchEvent(evt);\r\n } else if (filter.value === \"\") {\r\n checkies[i].checked = true;\r\n checkies[i].dispatchEvent(evt);\r\n } else {\r\n checkies[i].checked = false;\r\n }\r\n }\r\n });\r\n\r\n for (var i = 0; i < checkies.length; i++) {\r\n if (filter.value === checkies[i].value) {\r\n checkies[i].checked = true;\r\n checkies[i].dispatchEvent(evt);\r\n } else {\r\n checkies[i].checked = false;\r\n }\r\n }\r\n }\r\n});\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", () => {\r\n if (document.getElementById(\"headerSubmit\")) {\r\n var btn = document.getElementById(\"headerSubmit\");\r\n var submit = document.getElementById(\"headerForm\");\r\n var search = document.getElementById(\"filter_search\");\r\n var cat = document.getElementById(\"filter_cat\");\r\n var province = document.getElementById(\"filter_province\");\r\n\r\n const submitEvent = new Event(\"submit\", {\r\n cancelable: true,\r\n });\r\n\r\n cat.addEventListener(\"change\", () => {\r\n if (cat.value !== \"\" && province.value !== \"\") {\r\n btn.disabled = false;\r\n btn.click();\r\n submit.dispatchEvent(submitEvent);\r\n } else {\r\n btn.disabled = true;\r\n }\r\n });\r\n\r\n province.addEventListener(\"change\", () => {\r\n if (cat.value !== \"\" && province.value !== \"\") {\r\n btn.disabled = false;\r\n submit.dispatchEvent(submitEvent);\r\n btn.click();\r\n } else {\r\n btn.disabled = true;\r\n }\r\n });\r\n }\r\n});\r\n\r\n/* -------------------------------------------------------------------------- */\r\n/* Select placeholder */\r\n/* -------------------------------------------------------------------------- */\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n if (document.querySelectorAll(\"select\").length >= 1) {\r\n var selects = document.querySelectorAll(\"select\");\r\n\r\n for (var i = 0; i < selects.length; i++) {\r\n selects[i].addEventListener(\"change\", function () {\r\n if (this.value !== \"\") {\r\n this.classList.remove(\"select-placeholder\");\r\n } else {\r\n this.classList.add(\"select-placeholder\");\r\n }\r\n });\r\n }\r\n }\r\n});\r\n\r\n/* -------------------------------------------------------------------------- */\r\n/* Advanced filter dropdown */\r\n/* -------------------------------------------------------------------------- */\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n if (document.getElementById(\"advancedBtn\")) {\r\n var btn = document.getElementById(\"advancedBtn\");\r\n var dropdown = document.getElementById(\"advancedFilters\");\r\n btn.addEventListener(\"click\", () => {\r\n if (\r\n dropdown.classList.contains(\"job_filters__advanced--filters__active\")\r\n ) {\r\n dropdown.classList.remove(\"job_filters__advanced--filters__active\");\r\n } else {\r\n dropdown.classList.add(\"job_filters__advanced--filters__active\");\r\n }\r\n });\r\n }\r\n});\r\n\r\n/* -------------------------------------------------------------------------- */\r\n/* Place ads between job placements */\r\n/* -------------------------------------------------------------------------- */\r\n\r\nfunction insertAfter(newNode, referenceNode) {\r\n referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);\r\n}\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n jQuery(function ($) {\r\n $(document)\r\n .ajaxStart(function () {\r\n $(\".listing-ads__loading\").addClass(\"listing-ads__loading\");\r\n })\r\n .ajaxStop(function () {\r\n if (document.getElementById(\"listingAds\")) {\r\n var ads = document.getElementById(\"listingAds\");\r\n var node = ads.cloneNode(true);\r\n var noFound = document.querySelectorAll(\".no_job_listings_found\");\r\n node.removeAttribute(\"id\");\r\n var listing = document.getElementsByClassName(\"vgf-job-li\");\r\n if (document.getElementsByClassName(\"vgf-ads\").length <= 2) {\r\n if (listing[1]) {\r\n insertAfter(node, listing[1]);\r\n node.classList.remove(\"listing-ads__loading\");\r\n } else if (listing[0]) {\r\n insertAfter(node, listing[0]);\r\n node.classList.remove(\"listing-ads__loading\");\r\n } else if (noFound) {\r\n insertAfter(node, noFound);\r\n node.classList.remove(\"listing-ads__loading\");\r\n }\r\n }\r\n }\r\n });\r\n\r\n $(\".load_more_jobs\").click(function () {\r\n $(document)\r\n .ajaxStart(function () {\r\n // $(\".listing-ads__loading\").addClass(\"listing-ads__loading\");\r\n })\r\n .ajaxStop(function () {\r\n console.log(document.getElementsByClassName(\"vgf-ads\"));\r\n console.log(document.getElementsByClassName(\"vgf-ads\").length);\r\n if (document.getElementsByClassName(\"vgf-ads\").length >= 1) {\r\n document.getElementsByClassName(\"vgf-ads\")[1].remove();\r\n }\r\n });\r\n });\r\n });\r\n});\r\n\r\njQuery(function ($) {\r\n $(\"#jobLink\").on(\"click\", function (e) {\r\n e.preventDefault();\r\n\r\n $.ajax({\r\n type: \"POST\",\r\n url: \"/wp-admin/admin-ajax.php\",\r\n dataType: \"html\",\r\n data: {\r\n action: \"vgf_save_referral\",\r\n url: $(this).data(\"url\"),\r\n postid: $(this).data(\"postid\"),\r\n },\r\n beforeSend: function () {\r\n $(\"#jobLink\").addClass(\"vgf-job-single__info--apply__loading\");\r\n },\r\n success: function (res) {\r\n setTimeout(function () {\r\n window.open(res, \"_blank\");\r\n $(\"#jobLink\").removeClass(\"vgf-job-single__info--apply__loading\");\r\n }, 500);\r\n },\r\n });\r\n });\r\n});\r\n","import extractColors from \"extract-colors\";\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n if (document.getElementById(\"jobImage\")) {\r\n console.log(\"found\");\r\n const logo = document.getElementById(\"jobImage\");\r\n const src = logo.getAttribute(\"data-src\");\r\n const header = document.querySelector(\".site-header__jobs--main\");\r\n const fallback = header.getAttribute(\"data-fallback\");\r\n const btn = document.getElementById(\"jobLink\");\r\n const maxColor = 230;\r\n const options = {\r\n pixels: 4000,\r\n distance: 0.1,\r\n saturationImportance: 1,\r\n splitPower: 10,\r\n colorValidator: (red, green, blue, alpha = 255) => alpha > 250,\r\n };\r\n\r\n // Set crossOrigin on the existing image\r\n logo.crossOrigin = \"anonymous\";\r\n\r\n // Wait until the image has fully loaded\r\n logo.onload = () => {\r\n extractColors(src, options)\r\n .then((data) => {\r\n console.log(data);\r\n let color;\r\n if (\r\n data[0] &&\r\n data[0].red <= maxColor &&\r\n data[0].green <= maxColor &&\r\n data[0].blue <= maxColor\r\n ) {\r\n color = data[0].hex;\r\n } else if (\r\n data[1] &&\r\n data[1].red <= maxColor &&\r\n data[1].green <= maxColor &&\r\n data[1].blue <= maxColor\r\n ) {\r\n color = data[1].hex;\r\n } else if (\r\n data[2] &&\r\n data[2].red <= maxColor &&\r\n data[2].green <= maxColor &&\r\n data[2].blue <= maxColor\r\n ) {\r\n color = data[2].hex;\r\n } else if (\r\n data[3] &&\r\n data[3].red <= maxColor &&\r\n data[3].green <= maxColor &&\r\n data[3].blue <= maxColor\r\n ) {\r\n color = data[3].hex;\r\n } else if (data.length <= 2) {\r\n color = data[1]?.hex || fallback;\r\n } else if (data.length <= 1) {\r\n color = data[0]?.hex || fallback;\r\n } else {\r\n color = fallback;\r\n }\r\n\r\n header.setAttribute(\r\n \"style\",\r\n `--data-company-color: ${color}cc`\r\n );\r\n btn.setAttribute(\"style\", `background-color: ${color}`);\r\n })\r\n .catch((error) => {\r\n console.warn(error);\r\n header.setAttribute(\r\n \"style\",\r\n `--data-company-color: ${fallback}cc`\r\n );\r\n });\r\n };\r\n\r\n // Handle errors\r\n logo.onerror = () => {\r\n console.warn(\"Error loading image.\");\r\n header.setAttribute(\"style\", `--data-company-color: ${fallback}cc`);\r\n };\r\n\r\n // Set the source after assigning crossOrigin\r\n logo.src = src;\r\n }\r\n});\r\n","!(function (e, t) {\r\n if (\"object\" == typeof exports && \"object\" == typeof module)\r\n module.exports = t();\r\n else if (\"function\" == typeof define && define.amd) define([], t);\r\n else {\r\n var n = t();\r\n for (var o in n) (\"object\" == typeof exports ? exports : e)[o] = n[o];\r\n }\r\n})(window, function () {\r\n return (function (e) {\r\n var t = {};\r\n function n(o) {\r\n if (t[o]) return t[o].exports;\r\n var r = (t[o] = { i: o, l: !1, exports: {} });\r\n return e[o].call(r.exports, r, r.exports, n), (r.l = !0), r.exports;\r\n }\r\n return (\r\n (n.m = e),\r\n (n.c = t),\r\n (n.d = function (e, t, o) {\r\n n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: o });\r\n }),\r\n (n.r = function (e) {\r\n \"undefined\" != typeof Symbol &&\r\n Symbol.toStringTag &&\r\n Object.defineProperty(e, Symbol.toStringTag, { value: \"Module\" }),\r\n Object.defineProperty(e, \"__esModule\", { value: !0 });\r\n }),\r\n (n.t = function (e, t) {\r\n if ((1 & t && (e = n(e)), 8 & t)) return e;\r\n if (4 & t && \"object\" == typeof e && e && e.__esModule) return e;\r\n var o = Object.create(null);\r\n if (\r\n (n.r(o),\r\n Object.defineProperty(o, \"default\", { enumerable: !0, value: e }),\r\n 2 & t && \"string\" != typeof e)\r\n )\r\n for (var r in e)\r\n n.d(\r\n o,\r\n r,\r\n function (t) {\r\n return e[t];\r\n }.bind(null, r)\r\n );\r\n return o;\r\n }),\r\n (n.n = function (e) {\r\n var t =\r\n e && e.__esModule\r\n ? function () {\r\n return e.default;\r\n }\r\n : function () {\r\n return e;\r\n };\r\n return n.d(t, \"a\", t), t;\r\n }),\r\n (n.o = function (e, t) {\r\n return Object.prototype.hasOwnProperty.call(e, t);\r\n }),\r\n (n.p = \"\"),\r\n n((n.s = 0))\r\n );\r\n })([\r\n function (e, t, n) {\r\n \"use strict\";\r\n n.r(t);\r\n var o,\r\n r = \"fslightbox-\",\r\n i = \"\".concat(r, \"styles\"),\r\n s = \"\".concat(r, \"cursor-grabbing\"),\r\n a = \"\".concat(r, \"full-dimension\"),\r\n c = \"\".concat(r, \"flex-centered\"),\r\n l = \"\".concat(r, \"open\"),\r\n u = \"\".concat(r, \"transform-transition\"),\r\n d = \"\".concat(r, \"absoluted\"),\r\n p = \"\".concat(r, \"slide-btn\"),\r\n f = \"\".concat(p, \"-container\"),\r\n h = \"\".concat(r, \"fade-in\"),\r\n m = \"\".concat(r, \"fade-out\"),\r\n g = h + \"-strong\",\r\n v = m + \"-strong\",\r\n b = \"\".concat(r, \"opacity-\"),\r\n x = \"\".concat(b, \"1\"),\r\n y = \"\".concat(r, \"source\");\r\n function S(e) {\r\n return (S =\r\n \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator\r\n ? function (e) {\r\n return typeof e;\r\n }\r\n : function (e) {\r\n return e &&\r\n \"function\" == typeof Symbol &&\r\n e.constructor === Symbol &&\r\n e !== Symbol.prototype\r\n ? \"symbol\"\r\n : typeof e;\r\n })(e);\r\n }\r\n \"object\" ===\r\n (\"undefined\" == typeof document ? \"undefined\" : S(document)) &&\r\n (((o = document.createElement(\"style\")).className = i),\r\n o.appendChild(\r\n document.createTextNode(\r\n \".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg-path{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightbox-slide-number-container{display:flex;justify-content:center;align-items:center;position:relative;height:100%;font-size:15px;color:#d7d7d7;z-index:0;max-width:55px;text-align:left}.fslightbox-slide-number-container .fslightbox-flex-centered{height:100%}.fslightbox-slash{display:block;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:#fff}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex;background:rgba(35,35,35,.65)}.fslightbox-toolbar-button{height:100%;width:45px;cursor:pointer}.fslightbox-toolbar-button:hover .fslightbox-svg-path{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}}.fslightbox-slide-btn-container:hover .fslightbox-svg-path{fill:#f1f1f1}.fslightbox-slide-btn{padding:9px;font-size:26px;background:rgba(35,35,35,.65)}@media (min-width:768px){.fslightbox-slide-btn{padding:10px}}@media (min-width:1600px){.fslightbox-slide-btn{padding:11px}}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container-next{padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container-next{padding-left:30px}}@media (min-width:476px){.fslightbox-slide-btn-container-next{padding-right:6px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightbox-video{object-fit:cover}.fslightbox-youtube-iframe{border:0}.fslightbox-loader{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightbox-loader div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightbox-loader 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightbox-loader div:nth-child(1){animation-delay:-.45s}.fslightbox-loader div:nth-child(2){animation-delay:-.3s}.fslightbox-loader div:nth-child(3){animation-delay:-.15s}@keyframes fslightbox-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;z-index:2;opacity:0}\"\r\n )\r\n ),\r\n document.head.appendChild(o));\r\n function w(e) {\r\n var t,\r\n n = e.props,\r\n o = 0,\r\n r = {};\r\n (this.getSourceTypeFromLocalStorageByUrl = function (e) {\r\n return t[e] ? t[e] : i(e);\r\n }),\r\n (this.handleReceivedSourceTypeForUrl = function (e, n) {\r\n !1 === r[n] &&\r\n (o--,\r\n \"invalid\" !== e ? (r[n] = e) : delete r[n],\r\n 0 === o &&\r\n (!(function (e, t) {\r\n for (var n in t) e[n] = t[n];\r\n })(t, r),\r\n localStorage.setItem(\"fslightbox-types\", JSON.stringify(t))));\r\n });\r\n var i = function (e) {\r\n o++, (r[e] = !1);\r\n };\r\n n.disableLocalStorage\r\n ? ((this.getSourceTypeFromLocalStorageByUrl = function () {}),\r\n (this.handleReceivedSourceTypeForUrl = function () {}))\r\n : (t = JSON.parse(localStorage.getItem(\"fslightbox-types\"))) ||\r\n ((t = {}), (this.getSourceTypeFromLocalStorageByUrl = i));\r\n }\r\n function L(e, t, n, o) {\r\n var r = e.data,\r\n i = e.elements.sources,\r\n s = n / o,\r\n a = 0;\r\n this.adjustSize = function () {\r\n if ((a = r.maxSourceWidth / s) < r.maxSourceHeight)\r\n return n < r.maxSourceWidth && (a = o), c();\r\n (a = o > r.maxSourceHeight ? r.maxSourceHeight : o), c();\r\n };\r\n var c = function () {\r\n (i[t].style.width = a * s + \"px\"), (i[t].style.height = a + \"px\");\r\n };\r\n }\r\n function C(e, t) {\r\n var n = this,\r\n o = e.collections.sourceSizers,\r\n r = e.elements,\r\n i = r.sourceAnimationWrappers,\r\n s = r.sourceMainWrappers,\r\n a = r.sources,\r\n c = e.resolve;\r\n function l(e, n) {\r\n (o[t] = c(L, [t, e, n])), o[t].adjustSize();\r\n }\r\n this.runActions = function (e, o) {\r\n a[t].classList.add(x),\r\n i[t].classList.add(g),\r\n s[t].removeChild(s[t].firstChild),\r\n l(e, o),\r\n (n.runActions = l);\r\n };\r\n }\r\n function F(e, t) {\r\n var n,\r\n o = this,\r\n r = e.elements.sources,\r\n i = e.props,\r\n s = (0, e.resolve)(C, [t]);\r\n (this.handleImageLoad = function (e) {\r\n var t = e.target,\r\n n = t.naturalWidth,\r\n o = t.naturalHeight;\r\n s.runActions(n, o);\r\n }),\r\n (this.handleVideoLoad = function (e) {\r\n var t = e.target,\r\n o = t.videoWidth,\r\n r = t.videoHeight;\r\n (n = !0), s.runActions(o, r);\r\n }),\r\n (this.handleNotMetaDatedVideoLoad = function () {\r\n n || o.handleYoutubeLoad();\r\n }),\r\n (this.handleYoutubeLoad = function () {\r\n var e = 1920,\r\n t = 1080;\r\n i.maxYoutubeDimensions &&\r\n ((e = i.maxYoutubeDimensions.width),\r\n (t = i.maxYoutubeDimensions.height)),\r\n s.runActions(e, t);\r\n }),\r\n (this.handleCustomLoad = function () {\r\n setTimeout(function () {\r\n var e = r[t];\r\n s.runActions(e.offsetWidth, e.offsetHeight);\r\n });\r\n });\r\n }\r\n function A(e, t, n) {\r\n var o = e.elements.sources,\r\n r = e.props.customClasses,\r\n i = r[t] ? r[t] : \"\";\r\n o[t].className = n + \" \" + i;\r\n }\r\n function I(e, t) {\r\n var n = e.elements.sources,\r\n o = e.props.customAttributes;\r\n for (var r in o[t]) n[t].setAttribute(r, o[t][r]);\r\n }\r\n function T(e, t) {\r\n var n = e.collections.sourceLoadHandlers,\r\n o = e.elements,\r\n r = o.sources,\r\n i = o.sourceAnimationWrappers,\r\n s = e.props.sources;\r\n (r[t] = document.createElement(\"img\")),\r\n A(e, t, y),\r\n (r[t].src = s[t]),\r\n (r[t].onload = n[t].handleImageLoad),\r\n I(e, t),\r\n i[t].appendChild(r[t]);\r\n }\r\n function E(e, t) {\r\n var n = e.collections.sourceLoadHandlers,\r\n o = e.elements,\r\n r = o.sources,\r\n i = o.sourceAnimationWrappers,\r\n s = e.props,\r\n a = s.sources,\r\n c = s.videosPosters;\r\n (r[t] = document.createElement(\"video\")),\r\n A(e, t, y),\r\n (r[t].src = a[t]),\r\n (r[t].onloadedmetadata = function (e) {\r\n n[t].handleVideoLoad(e);\r\n }),\r\n (r[t].controls = !0),\r\n I(e, t),\r\n c[t] && (r[t].poster = c[t]);\r\n var l = document.createElement(\"source\");\r\n (l.src = a[t]),\r\n r[t].appendChild(l),\r\n setTimeout(n[t].handleNotMetaDatedVideoLoad, 3e3),\r\n i[t].appendChild(r[t]);\r\n }\r\n function N(e, t) {\r\n var n = e.collections.sourceLoadHandlers,\r\n o = e.elements,\r\n i = o.sources,\r\n s = o.sourceAnimationWrappers,\r\n a = e.props.sources;\r\n (i[t] = document.createElement(\"iframe\")),\r\n A(e, t, \"\".concat(y, \" \").concat(r, \"youtube-iframe\")),\r\n (i[t].src = \"https://www.youtube.com/embed/\".concat(\r\n a[t].match(\r\n /^.*(youtu.be\\/|v\\/|u\\/\\w\\/|embed\\/|watch\\?v=|\\&v=)([^#\\&\\?]*).*/\r\n )[2],\r\n \"?enablejsapi=1\"\r\n )),\r\n (i[t].allowFullscreen = !0),\r\n I(e, t),\r\n s[t].appendChild(i[t]),\r\n n[t].handleYoutubeLoad();\r\n }\r\n function W(e, t) {\r\n var n = e.collections.sourceLoadHandlers,\r\n o = e.elements,\r\n r = o.sources,\r\n i = o.sourceAnimationWrappers,\r\n s = e.props.sources;\r\n (r[t] = s[t]),\r\n A(e, t, \"\".concat(r[t].className, \" \").concat(y)),\r\n i[t].appendChild(r[t]),\r\n n[t].handleCustomLoad();\r\n }\r\n function z(e, t) {\r\n var n = e.elements,\r\n o = n.sources,\r\n i = n.sourceAnimationWrappers,\r\n s = n.sourceMainWrappers;\r\n e.props.sources;\r\n (o[t] = document.createElement(\"div\")),\r\n (o[t].className = \"\".concat(r, \"invalid-file-wrapper \").concat(c)),\r\n (o[t].innerHTML = \"Invalid source\"),\r\n i[t].classList.add(g),\r\n i[t].appendChild(o[t]),\r\n s[t].removeChild(s[t].firstChild);\r\n }\r\n function M(e) {\r\n var t = e.collections,\r\n n = t.sourceLoadHandlers,\r\n o = t.sourcesRenderFunctions,\r\n r = e.core.sourceDisplayFacade,\r\n i = e.resolve;\r\n this.runActionsForSourceTypeAndIndex = function (t, s) {\r\n var a;\r\n switch ((\"invalid\" !== t && (n[s] = i(F, [s])), t)) {\r\n case \"image\":\r\n a = T;\r\n break;\r\n case \"video\":\r\n a = E;\r\n break;\r\n case \"youtube\":\r\n a = N;\r\n break;\r\n case \"custom\":\r\n a = W;\r\n break;\r\n default:\r\n a = z;\r\n }\r\n (o[s] = function () {\r\n return a(e, s);\r\n }),\r\n r.displaySourcesWhichShouldBeDisplayed();\r\n };\r\n }\r\n function P() {\r\n var e,\r\n t,\r\n n,\r\n o = {\r\n isUrlYoutubeOne: function (e) {\r\n var t = document.createElement(\"a\");\r\n return (t.href = e), \"www.youtube.com\" === t.hostname;\r\n },\r\n getTypeFromResponseContentType: function (e) {\r\n return e.slice(0, e.indexOf(\"/\"));\r\n },\r\n };\r\n function r() {\r\n if (4 !== n.readyState) {\r\n if (2 === n.readyState) {\r\n var e;\r\n switch (\r\n o.getTypeFromResponseContentType(\r\n n.getResponseHeader(\"content-type\")\r\n )\r\n ) {\r\n case \"image\":\r\n e = \"image\";\r\n break;\r\n case \"video\":\r\n e = \"video\";\r\n break;\r\n default:\r\n e = \"invalid\";\r\n }\r\n (n.onreadystatechange = null), n.abort(), t(e);\r\n }\r\n } else t(\"invalid\");\r\n }\r\n (this.setUrlToCheck = function (t) {\r\n e = t;\r\n }),\r\n (this.getSourceType = function (i) {\r\n if (o.isUrlYoutubeOne(e)) return i(\"youtube\");\r\n (t = i),\r\n ((n = new XMLHttpRequest()).onreadystatechange = r),\r\n n.open(\"GET\", e, !0),\r\n n.send();\r\n });\r\n }\r\n function H(e, t, n) {\r\n var o = e.props,\r\n r = o.types,\r\n i = o.type,\r\n s = o.sources,\r\n a = e.resolve;\r\n (this.getTypeSetByClientForIndex = function (e) {\r\n var t;\r\n return r && r[e] ? (t = r[e]) : i && (t = i), t;\r\n }),\r\n (this.retrieveTypeWithXhrForIndex = function (e) {\r\n var o = a(P);\r\n o.setUrlToCheck(s[e]),\r\n o.getSourceType(function (o) {\r\n t.handleReceivedSourceTypeForUrl(o, s[e]),\r\n n.runActionsForSourceTypeAndIndex(o, e);\r\n });\r\n });\r\n }\r\n function k(e, t) {\r\n var n = e.componentsServices.hideSourceLoaderIfNotYetCollection,\r\n o = e.elements,\r\n r = o.sourceWrappersContainer,\r\n i = o.sourceMainWrappers;\r\n (i[t] = document.createElement(\"div\")),\r\n (i[t].className = \"\".concat(d, \" \").concat(a, \" \").concat(c)),\r\n (i[t].innerHTML =\r\n '
');\r\n var s = i[t].firstChild;\r\n (n[t] = function () {\r\n i[t].contains(s) && i[t].removeChild(s);\r\n }),\r\n r.appendChild(i[t]),\r\n (function (e, t) {\r\n var n = e.elements,\r\n o = n.sourceMainWrappers,\r\n r = n.sourceAnimationWrappers;\r\n (r[t] = document.createElement(\"div\")), o[t].appendChild(r[t]);\r\n })(e, t);\r\n }\r\n function O(e, t, n, o) {\r\n var i = document.createElementNS(\"http://www.w3.org/2000/svg\", \"svg\");\r\n i.setAttributeNS(null, \"width\", t),\r\n i.setAttributeNS(null, \"height\", t),\r\n i.setAttributeNS(null, \"viewBox\", n);\r\n var s = document.createElementNS(\"http://www.w3.org/2000/svg\", \"path\");\r\n return (\r\n s.setAttributeNS(null, \"class\", \"\".concat(r, \"svg-path\")),\r\n s.setAttributeNS(null, \"d\", o),\r\n i.appendChild(s),\r\n e.appendChild(i),\r\n i\r\n );\r\n }\r\n function R(e, t) {\r\n var n = document.createElement(\"div\");\r\n return (\r\n (n.className = \"\".concat(r, \"toolbar-button \").concat(c)),\r\n (n.title = t),\r\n e.appendChild(n),\r\n n\r\n );\r\n }\r\n function D(e, t) {\r\n var n = document.createElement(\"div\");\r\n (n.className = \"\".concat(r, \"toolbar\")),\r\n t.appendChild(n),\r\n (function (e, t) {\r\n var n = e.componentsServices,\r\n o = e.core.fullscreenToggler,\r\n r = e.data,\r\n i =\r\n \"M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z\",\r\n s = R(t);\r\n s.title = \"Enter fullscreen\";\r\n var a = O(s, \"20px\", \"0 0 18 18\", i);\r\n (n.enterFullscreen = function () {\r\n (r.isFullscreenOpen = !0),\r\n (s.title = \"Exit fullscreen\"),\r\n a.setAttributeNS(null, \"width\", \"24px\"),\r\n a.setAttributeNS(null, \"height\", \"24px\"),\r\n a.setAttributeNS(null, \"viewBox\", \"0 0 950 1024\"),\r\n a.firstChild.setAttributeNS(\r\n null,\r\n \"d\",\r\n \"M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z\"\r\n );\r\n }),\r\n (n.exitFullscreen = function () {\r\n (r.isFullscreenOpen = !1),\r\n (s.title = \"Enter fullscreen\"),\r\n a.setAttributeNS(null, \"width\", \"20px\"),\r\n a.setAttributeNS(null, \"height\", \"20px\"),\r\n a.setAttributeNS(null, \"viewBox\", \"0 0 18 18\"),\r\n a.firstChild.setAttributeNS(null, \"d\", i);\r\n }),\r\n (s.onclick = function () {\r\n r.isFullscreenOpen ? o.exitFullscreen() : o.enterFullscreen();\r\n });\r\n })(e, n),\r\n (function (e, t) {\r\n var n = R(t, \"Close\");\r\n (n.onclick = e.core.lightboxCloser.closeLightbox),\r\n O(\r\n n,\r\n \"20px\",\r\n \"0 0 24 24\",\r\n \"M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z\"\r\n );\r\n })(e, n);\r\n }\r\n function j(e) {\r\n var t = e.props.sources,\r\n n = e.elements.container,\r\n o = document.createElement(\"div\");\r\n (o.className = \"\".concat(r, \"nav\")),\r\n n.appendChild(o),\r\n D(e, o),\r\n t.length > 1 &&\r\n (function (e, t) {\r\n var n = e.componentsServices,\r\n o = e.props.sources,\r\n i = (e.stageIndexes, document.createElement(\"div\"));\r\n i.className = \"\".concat(r, \"slide-number-container\");\r\n var s = document.createElement(\"div\");\r\n s.className = c;\r\n var a = document.createElement(\"span\");\r\n n.setSlideNumber = function (e) {\r\n return (a.innerHTML = e);\r\n };\r\n var l = document.createElement(\"span\");\r\n l.className = \"\".concat(r, \"slash\");\r\n var u = document.createElement(\"div\");\r\n (u.innerHTML = o.length),\r\n i.appendChild(s),\r\n s.appendChild(a),\r\n s.appendChild(l),\r\n s.appendChild(u),\r\n t.appendChild(i),\r\n setTimeout(function () {\r\n s.offsetWidth > 55 && (i.style.justifyContent = \"flex-start\");\r\n });\r\n })(e, o);\r\n }\r\n function X(e, t) {\r\n var n = this,\r\n o = e.elements.sourceMainWrappers,\r\n r = e.props,\r\n i = 0;\r\n (this.byValue = function (e) {\r\n return (i = e), n;\r\n }),\r\n (this.negative = function () {\r\n s(-a());\r\n }),\r\n (this.zero = function () {\r\n s(0);\r\n }),\r\n (this.positive = function () {\r\n s(a());\r\n });\r\n var s = function (e) {\r\n (o[t].style.transform = \"translateX(\".concat(e + i, \"px)\")),\r\n (i = 0);\r\n },\r\n a = function () {\r\n return (1 + r.slideDistance) * innerWidth;\r\n };\r\n }\r\n function B(e, t, n, o) {\r\n var r = e.elements.container,\r\n i = n.charAt(0).toUpperCase() + n.slice(1),\r\n s = document.createElement(\"div\");\r\n (s.className = \"\".concat(f, \" \").concat(f, \"-\").concat(n)),\r\n (s.title = \"\".concat(i, \" slide\")),\r\n (s.onclick = t),\r\n (function (e, t) {\r\n var n = document.createElement(\"div\");\r\n (n.className = \"\".concat(p, \" \").concat(c)),\r\n O(n, \"20px\", \"0 0 20 20\", t),\r\n e.appendChild(n);\r\n })(s, o),\r\n r.appendChild(s);\r\n }\r\n function U(e, t) {\r\n var n = e.classList;\r\n n.contains(t) && n.remove(t);\r\n }\r\n function V(e) {\r\n var t = this,\r\n n = e.core,\r\n o = n.eventsDispatcher,\r\n r = n.fullscreenToggler,\r\n i = n.globalEventsController,\r\n s = n.scrollbarRecompensor,\r\n a = e.data,\r\n c = e.elements,\r\n u = e.props,\r\n d = e.sourcePointerProps;\r\n (this.isLightboxFadingOut = !1),\r\n (this.runActions = function () {\r\n (t.isLightboxFadingOut = !0),\r\n c.container.classList.add(v),\r\n i.removeListeners(),\r\n u.exitFullscreenOnClose &&\r\n a.isFullscreenOpen &&\r\n r.exitFullscreen(),\r\n setTimeout(function () {\r\n (t.isLightboxFadingOut = !1),\r\n (d.isPointering = !1),\r\n c.container.classList.remove(v),\r\n document.documentElement.classList.remove(l),\r\n s.removeRecompense(),\r\n document.body.removeChild(c.container),\r\n o.dispatch(\"onClose\");\r\n }, 270);\r\n });\r\n }\r\n function Y(e) {\r\n var t,\r\n n,\r\n o,\r\n r = e.collections.sourceMainWrappersTransformers,\r\n i = e.componentsServices,\r\n s = e.core,\r\n a = s.classFacade,\r\n c = s.slideIndexChanger,\r\n l = s.sourceDisplayFacade,\r\n d = s.stageManager,\r\n p = e.elements.sourceAnimationWrappers,\r\n f = e.stageIndexes,\r\n v =\r\n ((t = function () {\r\n a.removeFromEachElementClassIfContains(\r\n \"sourceAnimationWrappers\",\r\n m\r\n );\r\n }),\r\n (n = 300),\r\n (o = []),\r\n function () {\r\n o.push(!0),\r\n setTimeout(function () {\r\n o.pop(), o.length || t();\r\n }, n);\r\n });\r\n (c.changeTo = function (e) {\r\n (f.current = e),\r\n d.updateStageIndexes(),\r\n i.setSlideNumber(e + 1),\r\n l.displaySourcesWhichShouldBeDisplayed();\r\n }),\r\n (c.jumpTo = function (e) {\r\n var t = f.current;\r\n c.changeTo(e),\r\n a.removeFromEachElementClassIfContains(\"sourceMainWrappers\", u),\r\n U(p[t], g),\r\n U(p[t], h),\r\n p[t].classList.add(m),\r\n U(p[e], g),\r\n U(p[e], m),\r\n p[e].classList.add(h),\r\n v(),\r\n r[e].zero(),\r\n setTimeout(function () {\r\n t !== f.current && r[t].negative();\r\n }, 270);\r\n });\r\n }\r\n function _(e) {\r\n var t = e.core,\r\n n = t.lightboxCloser,\r\n o = t.fullscreenToggler,\r\n r = t.slideChangeFacade;\r\n this.listener = function (e) {\r\n switch (e.key) {\r\n case \"Escape\":\r\n n.closeLightbox();\r\n break;\r\n case \"ArrowLeft\":\r\n r.changeToPrevious();\r\n break;\r\n case \"ArrowRight\":\r\n r.changeToNext();\r\n break;\r\n case \"F11\":\r\n e.preventDefault(), o.enterFullscreen();\r\n }\r\n };\r\n }\r\n function q(e) {\r\n var t = e.collections.sourceMainWrappersTransformers,\r\n n = e.elements,\r\n o = e.sourcePointerProps,\r\n r = e.stageIndexes;\r\n function i(e, n) {\r\n t[e].byValue(o.swipedX)[n]();\r\n }\r\n this.runActionsForEvent = function (e) {\r\n var t, a, c;\r\n n.container.contains(n.slideSwipingHoverer) ||\r\n n.container.appendChild(n.slideSwipingHoverer),\r\n (t = n.container),\r\n (a = s),\r\n (c = t.classList).contains(a) || c.add(a),\r\n (o.swipedX = e.screenX - o.downScreenX),\r\n i(r.current, \"zero\"),\r\n void 0 !== r.previous && o.swipedX > 0\r\n ? i(r.previous, \"negative\")\r\n : void 0 !== r.next && o.swipedX < 0 && i(r.next, \"positive\");\r\n };\r\n }\r\n function J(e) {\r\n var t = e.props.sources,\r\n n = e.resolve,\r\n o = e.sourcePointerProps,\r\n r = n(q);\r\n 1 === t.length\r\n ? (this.listener = function () {\r\n o.swipedX = 1;\r\n })\r\n : (this.listener = function (e) {\r\n o.isPointering && r.runActionsForEvent(e);\r\n });\r\n }\r\n function G(e) {\r\n var t = e.collections.sourceMainWrappersTransformers,\r\n n = e.core.slideIndexChanger,\r\n o = e.elements.sourceMainWrappers,\r\n r = e.stageIndexes;\r\n (this.runPositiveSwipedXActions = function () {\r\n void 0 === r.previous || (i(\"positive\"), n.changeTo(r.previous)),\r\n i(\"zero\");\r\n }),\r\n (this.runNegativeSwipedXActions = function () {\r\n void 0 === r.next || (i(\"negative\"), n.changeTo(r.next)), i(\"zero\");\r\n });\r\n var i = function (e) {\r\n o[r.current].classList.add(u), t[r.current][e]();\r\n };\r\n }\r\n function $(e, t) {\r\n e.contains(t) && e.removeChild(t);\r\n }\r\n function K(e) {\r\n var t = e.core.lightboxCloser,\r\n n = e.elements,\r\n o = e.resolve,\r\n r = e.sourcePointerProps,\r\n i = o(G);\r\n (this.runNoSwipeActions = function () {\r\n $(n.container, n.slideSwipingHoverer),\r\n r.isSourceDownEventTarget || t.closeLightbox(),\r\n (r.isPointering = !1);\r\n }),\r\n (this.runActions = function () {\r\n r.swipedX > 0\r\n ? i.runPositiveSwipedXActions()\r\n : i.runNegativeSwipedXActions(),\r\n $(n.container, n.slideSwipingHoverer),\r\n n.container.classList.remove(s),\r\n (r.isPointering = !1);\r\n });\r\n }\r\n function Q(e) {\r\n var t = e.resolve,\r\n n = e.sourcePointerProps,\r\n o = t(K);\r\n this.listener = function () {\r\n n.isPointering &&\r\n (n.swipedX ? o.runActions() : o.runNoSwipeActions());\r\n };\r\n }\r\n function Z(e) {\r\n var t, n, o;\r\n (n = (t = e).core.classFacade),\r\n (o = t.elements),\r\n (n.removeFromEachElementClassIfContains = function (e, t) {\r\n for (var n = 0; n < o[e].length; n++) U(o[e][n], t);\r\n }),\r\n (function (e) {\r\n var t = e.core.eventsDispatcher,\r\n n = e.props;\r\n t.dispatch = function (e) {\r\n n[e] && n[e]();\r\n };\r\n })(e),\r\n (function (e) {\r\n var t = e.componentsServices,\r\n n = e.core.fullscreenToggler;\r\n (n.enterFullscreen = function () {\r\n t.enterFullscreen();\r\n var e = document.documentElement;\r\n e.requestFullscreen\r\n ? e.requestFullscreen()\r\n : e.mozRequestFullScreen\r\n ? e.mozRequestFullScreen()\r\n : e.webkitRequestFullscreen\r\n ? e.webkitRequestFullscreen()\r\n : e.msRequestFullscreen && e.msRequestFullscreen();\r\n }),\r\n (n.exitFullscreen = function () {\r\n t.exitFullscreen(),\r\n document.exitFullscreen\r\n ? document.exitFullscreen()\r\n : document.mozCancelFullScreen\r\n ? document.mozCancelFullScreen()\r\n : document.webkitExitFullscreen\r\n ? document.webkitExitFullscreen()\r\n : document.msExitFullscreen && document.msExitFullscreen();\r\n });\r\n })(e),\r\n (function (e) {\r\n var t = e.core,\r\n n = t.globalEventsController,\r\n o = t.windowResizeActioner,\r\n r = e.resolve,\r\n i = r(_),\r\n s = r(J),\r\n a = r(Q);\r\n (n.attachListeners = function () {\r\n document.addEventListener(\"pointermove\", s.listener),\r\n document.addEventListener(\"pointerup\", a.listener),\r\n addEventListener(\"resize\", o.runActions),\r\n document.addEventListener(\"keydown\", i.listener);\r\n }),\r\n (n.removeListeners = function () {\r\n document.removeEventListener(\"pointermove\", s.listener),\r\n document.removeEventListener(\"pointerup\", a.listener),\r\n removeEventListener(\"resize\", o.runActions),\r\n document.removeEventListener(\"keydown\", i.listener);\r\n });\r\n })(e),\r\n (function (e) {\r\n var t = e.core.lightboxCloser,\r\n n = (0, e.resolve)(V);\r\n t.closeLightbox = function () {\r\n n.isLightboxFadingOut || n.runActions();\r\n };\r\n })(e),\r\n ne(e),\r\n (function (e) {\r\n var t = e.data,\r\n n = e.core.scrollbarRecompensor;\r\n function o() {\r\n document.body.offsetHeight > innerHeight &&\r\n (document.body.style.marginRight = t.scrollbarWidth + \"px\");\r\n }\r\n (n.addRecompense = function () {\r\n \"complete\" === document.readyState\r\n ? o()\r\n : addEventListener(\"load\", function () {\r\n o(), (n.addRecompense = o);\r\n });\r\n }),\r\n (n.removeRecompense = function () {\r\n document.body.style.removeProperty(\"margin-right\");\r\n });\r\n })(e),\r\n (function (e) {\r\n var t = e.core,\r\n n = t.slideChangeFacade,\r\n o = t.slideIndexChanger,\r\n r = t.stageManager;\r\n e.props.sources.length > 1\r\n ? ((n.changeToPrevious = function () {\r\n o.jumpTo(r.getPreviousSlideIndex());\r\n }),\r\n (n.changeToNext = function () {\r\n o.jumpTo(r.getNextSlideIndex());\r\n }))\r\n : ((n.changeToPrevious = function () {}),\r\n (n.changeToNext = function () {}));\r\n })(e),\r\n Y(e),\r\n (function (e) {\r\n var t = e.core,\r\n n = t.classFacade,\r\n o = t.sourcesPointerDown,\r\n r = e.elements.sources,\r\n i = e.sourcePointerProps,\r\n s = e.stageIndexes;\r\n o.listener = function (e) {\r\n \"VIDEO\" !== e.target.tagName && e.preventDefault(),\r\n (i.isPointering = !0),\r\n (i.downScreenX = e.screenX),\r\n (i.swipedX = 0);\r\n var t = r[s.current];\r\n t && t.contains(e.target)\r\n ? (i.isSourceDownEventTarget = !0)\r\n : (i.isSourceDownEventTarget = !1),\r\n n.removeFromEachElementClassIfContains(\"sourceMainWrappers\", u);\r\n };\r\n })(e),\r\n (function (e) {\r\n var t = e.collections.sourcesRenderFunctions,\r\n n = e.core.sourceDisplayFacade,\r\n o = e.props,\r\n r = e.stageIndexes;\r\n function i(e) {\r\n t[e] && (t[e](), delete t[e]);\r\n }\r\n n.displaySourcesWhichShouldBeDisplayed = function () {\r\n if (o.loadOnlyCurrentSource) i(r.current);\r\n else for (var e in r) i(r[e]);\r\n };\r\n })(e),\r\n (function (e) {\r\n var t = e.stageIndexes,\r\n n = e.core.stageManager,\r\n o = e.props.sources.length - 1;\r\n (n.getPreviousSlideIndex = function () {\r\n return 0 === t.current ? o : t.current - 1;\r\n }),\r\n (n.getNextSlideIndex = function () {\r\n return t.current === o ? 0 : t.current + 1;\r\n }),\r\n (n.updateStageIndexes =\r\n 0 === o\r\n ? function () {}\r\n : 1 === o\r\n ? function () {\r\n 0 === t.current\r\n ? ((t.next = 1), delete t.previous)\r\n : ((t.previous = 0), delete t.next);\r\n }\r\n : function () {\r\n (t.previous = n.getPreviousSlideIndex()),\r\n (t.next = n.getNextSlideIndex());\r\n }),\r\n (n.isSourceInStage =\r\n o <= 2\r\n ? function () {\r\n return !0;\r\n }\r\n : function (e) {\r\n var n = t.current;\r\n if ((0 === n && e === o) || (n === o && 0 === e))\r\n return !0;\r\n var r = n - e;\r\n return -1 === r || 0 === r || 1 === r;\r\n });\r\n })(e),\r\n (function (e) {\r\n var t = e.collections,\r\n n = t.sourceMainWrappersTransformers,\r\n o = t.sourceSizers,\r\n r = e.core.windowResizeActioner,\r\n i = e.data,\r\n s = e.elements.sourceMainWrappers,\r\n a = e.props,\r\n c = e.stageIndexes;\r\n r.runActions = function () {\r\n innerWidth < 992\r\n ? (i.maxSourceWidth = innerWidth)\r\n : (i.maxSourceWidth = 0.9 * innerWidth),\r\n (i.maxSourceHeight = 0.9 * innerHeight);\r\n for (var e = 0; e < a.sources.length; e++)\r\n U(s[e], u),\r\n e !== c.current && n[e].negative(),\r\n o[e] && o[e].adjustSize();\r\n };\r\n })(e);\r\n }\r\n function ee(e) {\r\n var t = e.props.disableLocalStorage;\r\n if (!t) {\r\n var n = localStorage.getItem(\"fslightbox-scrollbar-width\");\r\n if (n) return n;\r\n }\r\n var o = (function () {\r\n var e = document.createElement(\"div\"),\r\n t = e.style;\r\n return (\r\n (t.visibility = \"hidden\"),\r\n (t.width = \"100px\"),\r\n (t.msOverflowStyle = \"scrollbar\"),\r\n (t.overflow = \"scroll\"),\r\n e\r\n );\r\n })(),\r\n r = (function () {\r\n var e = document.createElement(\"div\");\r\n return (e.style.width = \"100%\"), e;\r\n })();\r\n document.body.appendChild(o);\r\n var i = o.offsetWidth;\r\n o.appendChild(r);\r\n var s = r.offsetWidth;\r\n document.body.removeChild(o);\r\n var a = i - s;\r\n return (\r\n t || localStorage.setItem(\"fslightbox-scrollbar-width\", a.toString()),\r\n a\r\n );\r\n }\r\n function te(e) {\r\n var t = e.core.eventsDispatcher,\r\n n = e.data,\r\n o = e.elements,\r\n i = e.props.sources;\r\n (n.isInitialized = !0),\r\n (n.scrollbarWidth = ee(e)),\r\n (function (e) {\r\n for (\r\n var t = e.collections.sourceMainWrappersTransformers,\r\n n = e.props.sources,\r\n o = e.resolve,\r\n r = 0;\r\n r < n.length;\r\n r++\r\n )\r\n t[r] = o(X, [r]);\r\n })(e),\r\n Z(e),\r\n (o.container = document.createElement(\"div\")),\r\n (o.container.className = \"\"\r\n .concat(r, \"container \")\r\n .concat(a, \" \")\r\n .concat(g)),\r\n (function (e) {\r\n var t = e.elements;\r\n (t.slideSwipingHoverer = document.createElement(\"div\")),\r\n (t.slideSwipingHoverer.className = \"\"\r\n .concat(r, \"slide-swiping-hoverer \")\r\n .concat(a, \" \")\r\n .concat(d));\r\n })(e),\r\n j(e),\r\n (function (e) {\r\n var t = e.core.sourcesPointerDown,\r\n n = e.elements,\r\n o = e.props.sources,\r\n r = document.createElement(\"div\");\r\n (r.className = \"\".concat(d, \" \").concat(a)),\r\n n.container.appendChild(r),\r\n r.addEventListener(\"pointerdown\", t.listener),\r\n (n.sourceWrappersContainer = r);\r\n for (var i = 0; i < o.length; i++) k(e, i);\r\n })(e),\r\n i.length > 1 &&\r\n (function (e) {\r\n var t = e.core.slideChangeFacade;\r\n B(\r\n e,\r\n t.changeToPrevious,\r\n \"previous\",\r\n \"M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z\"\r\n ),\r\n B(\r\n e,\r\n t.changeToNext,\r\n \"next\",\r\n \"M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z\"\r\n );\r\n })(e),\r\n (function (e) {\r\n for (\r\n var t = e.props.sources,\r\n n = e.resolve,\r\n o = n(w),\r\n r = n(M),\r\n i = n(H, [o, r]),\r\n s = 0;\r\n s < t.length;\r\n s++\r\n )\r\n if (\"string\" == typeof t[s]) {\r\n var a = i.getTypeSetByClientForIndex(s);\r\n if (a) r.runActionsForSourceTypeAndIndex(a, s);\r\n else {\r\n var c = o.getSourceTypeFromLocalStorageByUrl(t[s]);\r\n c\r\n ? r.runActionsForSourceTypeAndIndex(c, s)\r\n : i.retrieveTypeWithXhrForIndex(s);\r\n }\r\n } else r.runActionsForSourceTypeAndIndex(\"custom\", s);\r\n })(e),\r\n t.dispatch(\"onInit\");\r\n }\r\n function ne(e) {\r\n var t = e.collections.sourceMainWrappersTransformers,\r\n n = e.componentsServices,\r\n o = e.core,\r\n r = o.eventsDispatcher,\r\n i = o.lightboxOpener,\r\n s = o.globalEventsController,\r\n a = o.scrollbarRecompensor,\r\n c = o.sourceDisplayFacade,\r\n u = o.stageManager,\r\n d = o.windowResizeActioner,\r\n p = e.data,\r\n f = e.elements,\r\n h = e.stageIndexes;\r\n i.open = function () {\r\n var o =\r\n arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;\r\n (h.current = o),\r\n p.isInitialized ? r.dispatch(\"onShow\") : te(e),\r\n u.updateStageIndexes(),\r\n c.displaySourcesWhichShouldBeDisplayed(),\r\n n.setSlideNumber(o + 1),\r\n document.body.appendChild(f.container),\r\n document.documentElement.classList.add(l),\r\n a.addRecompense(),\r\n s.attachListeners(),\r\n d.runActions(),\r\n t[h.current].zero(),\r\n r.dispatch(\"onOpen\");\r\n };\r\n }\r\n function oe(e, t, n) {\r\n return (oe = re()\r\n ? Reflect.construct\r\n : function (e, t, n) {\r\n var o = [null];\r\n o.push.apply(o, t);\r\n var r = new (Function.bind.apply(e, o))();\r\n return n && ie(r, n.prototype), r;\r\n }).apply(null, arguments);\r\n }\r\n function re() {\r\n if (\"undefined\" == typeof Reflect || !Reflect.construct) return !1;\r\n if (Reflect.construct.sham) return !1;\r\n if (\"function\" == typeof Proxy) return !0;\r\n try {\r\n return (\r\n Date.prototype.toString.call(\r\n Reflect.construct(Date, [], function () {})\r\n ),\r\n !0\r\n );\r\n } catch (e) {\r\n return !1;\r\n }\r\n }\r\n function ie(e, t) {\r\n return (ie =\r\n Object.setPrototypeOf ||\r\n function (e, t) {\r\n return (e.__proto__ = t), e;\r\n })(e, t);\r\n }\r\n function se(e) {\r\n return (\r\n (function (e) {\r\n if (Array.isArray(e)) return ae(e);\r\n })(e) ||\r\n (function (e) {\r\n if (\"undefined\" != typeof Symbol && Symbol.iterator in Object(e))\r\n return Array.from(e);\r\n })(e) ||\r\n (function (e, t) {\r\n if (!e) return;\r\n if (\"string\" == typeof e) return ae(e, t);\r\n var n = Object.prototype.toString.call(e).slice(8, -1);\r\n \"Object\" === n && e.constructor && (n = e.constructor.name);\r\n if (\"Map\" === n || \"Set\" === n) return Array.from(e);\r\n if (\r\n \"Arguments\" === n ||\r\n /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)\r\n )\r\n return ae(e, t);\r\n })(e) ||\r\n (function () {\r\n throw new TypeError(\r\n \"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"\r\n );\r\n })()\r\n );\r\n }\r\n function ae(e, t) {\r\n (null == t || t > e.length) && (t = e.length);\r\n for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];\r\n return o;\r\n }\r\n function ce() {\r\n for (\r\n var e = document.getElementsByTagName(\"a\"),\r\n t = function (t) {\r\n if (!e[t].hasAttribute(\"data-fslightbox\")) return \"continue\";\r\n var n = e[t].getAttribute(\"data-fslightbox\"),\r\n o = e[t].getAttribute(\"href\");\r\n fsLightboxInstances[n] ||\r\n (fsLightboxInstances[n] = new FsLightbox());\r\n var r = null;\r\n (r =\r\n \"#\" === o.charAt(0)\r\n ? document.getElementById(o.substring(1))\r\n : o),\r\n fsLightboxInstances[n].props.sources.push(r),\r\n fsLightboxInstances[n].elements.a.push(e[t]);\r\n var i = fsLightboxInstances[n].props.sources.length - 1;\r\n (e[t].onclick = function (e) {\r\n e.preventDefault(), fsLightboxInstances[n].open(i);\r\n }),\r\n d(\"types\", \"data-type\"),\r\n d(\"videosPosters\", \"data-video-poster\"),\r\n d(\"customClasses\", \"data-class\"),\r\n d(\"customClasses\", \"data-custom-class\");\r\n for (\r\n var s = [\r\n \"href\",\r\n \"data-fslightbox\",\r\n \"data-type\",\r\n \"data-video-poster\",\r\n \"data-class\",\r\n \"data-custom-class\",\r\n ],\r\n a = e[t].attributes,\r\n c = fsLightboxInstances[n].props.customAttributes,\r\n l = 0;\r\n l < a.length;\r\n l++\r\n )\r\n if (\r\n -1 === s.indexOf(a[l].name) &&\r\n \"data-\" === a[l].name.substr(0, 5)\r\n ) {\r\n c[i] || (c[i] = {});\r\n var u = a[l].name.substr(5);\r\n c[i][u] = a[l].value;\r\n }\r\n function d(o, r) {\r\n e[t].hasAttribute(r) &&\r\n (fsLightboxInstances[n].props[o][i] = e[t].getAttribute(r));\r\n }\r\n },\r\n n = 0;\r\n n < e.length;\r\n n++\r\n )\r\n t(n);\r\n var o = Object.keys(fsLightboxInstances);\r\n window.fsLightbox = fsLightboxInstances[o[o.length - 1]];\r\n }\r\n (window.FsLightbox = function () {\r\n var e = this;\r\n (this.props = {\r\n sources: [],\r\n customAttributes: [],\r\n customClasses: [],\r\n types: [],\r\n videosPosters: [],\r\n slideDistance: 0.3,\r\n }),\r\n (this.data = {\r\n isInitialized: !1,\r\n isFullscreenOpen: !1,\r\n maxSourceWidth: 0,\r\n maxSourceHeight: 0,\r\n scrollbarWidth: 0,\r\n }),\r\n (this.sourcePointerProps = {\r\n downScreenX: null,\r\n isPointering: !1,\r\n isSourceDownEventTarget: !1,\r\n swipedX: 0,\r\n }),\r\n (this.stageIndexes = {}),\r\n (this.elements = {\r\n a: [],\r\n container: null,\r\n slideSwipingHoverer: null,\r\n sourceWrappersContainer: null,\r\n sources: [],\r\n sourceMainWrappers: [],\r\n sourceAnimationWrappers: [],\r\n }),\r\n (this.componentsServices = {\r\n enterFullscreen: null,\r\n exitFullscreen: null,\r\n hideSourceLoaderIfNotYetCollection: [],\r\n setSlideNumber: function () {},\r\n }),\r\n (this.resolve = function (t) {\r\n var n =\r\n arguments.length > 1 && void 0 !== arguments[1]\r\n ? arguments[1]\r\n : [];\r\n return n.unshift(e), oe(t, se(n));\r\n }),\r\n (this.collections = {\r\n sourceMainWrappersTransformers: [],\r\n sourceLoadHandlers: [],\r\n sourcesRenderFunctions: [],\r\n sourceSizers: [],\r\n }),\r\n (this.core = {\r\n classFacade: {},\r\n eventsDispatcher: {},\r\n fullscreenToggler: {},\r\n globalEventsController: {},\r\n lightboxCloser: {},\r\n lightboxOpener: {},\r\n lightboxUpdater: {},\r\n scrollbarRecompensor: {},\r\n slideChangeFacade: {},\r\n slideIndexChanger: {},\r\n sourcesPointerDown: {},\r\n sourceDisplayFacade: {},\r\n stageManager: {},\r\n windowResizeActioner: {},\r\n }),\r\n ne(this),\r\n (this.open = function (t) {\r\n return e.core.lightboxOpener.open(t);\r\n }),\r\n (this.close = function () {\r\n return e.core.lightboxCloser.closeLightbox();\r\n });\r\n }),\r\n (window.fsLightboxInstances = {}),\r\n ce(),\r\n (window.refreshFsLightbox = function () {\r\n for (var e in fsLightboxInstances) {\r\n var t = fsLightboxInstances[e].props;\r\n (fsLightboxInstances[e] = new FsLightbox()),\r\n (fsLightboxInstances[e].props = t),\r\n (fsLightboxInstances[e].props.sources = []),\r\n (fsLightboxInstances[e].elements.a = []);\r\n }\r\n ce();\r\n });\r\n },\r\n ]);\r\n});\r\n","import Rellax from \"rellax\";\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n if (document.getElementsByClassName(\"rellax\").length >= 1) {\r\n var rellax = new Rellax(\".rellax\", {\r\n speed: 2,\r\n center: false,\r\n wrapper: null,\r\n round: true,\r\n vertical: true,\r\n horizontal: false,\r\n });\r\n }\r\n});\r\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=\"undefined\"!=typeof globalThis?globalThis:t||self).extractColors={})}(this,(function(t){\"use strict\";class e{constructor(t,e,r,o=t<<16|e<<8|r){this.isColor=!0,this.red=t,this.green=e,this.blue=r,this.hex=o,this.count=1}distance(t){return(Math.abs(t.red-this.red)+Math.abs(t.green-this.green)+Math.abs(t.blue-this.blue))/765}getWeight(t,e){return this.count/e*(1-t)+this.getSaturation()*t}getSaturation(){return void 0===this._saturation&&(this._saturation=Math.max(Math.abs(this.red-this.green)/255,Math.abs(this.red-this.blue)/255,Math.abs(this.green-this.blue)/255)),this._saturation}}class r{constructor(){this.count=1,this.children={}}addGroup(t){return this.children[t]?this.children[t].count++:this.children[t]=new r,this.children[t]}addColor(t,r,o,i){return this.children[t]?this.children[t].count++:this.children[t]=new e(r,o,i,t),this.children[t]}getList(){return Object.keys(this.children).map((t=>this.children[t]))}getMaxWeight(t,e){if(void 0===this.maxWeight){const r=this.getList().map((r=>r.isColor?r.getWeight(t,e):r.getMaxWeight(t,e)));r.sort(((t,e)=>e-t)),this.maxWeight=r[0]||0}return this.maxWeight}getMaxWeightColor(t,e){const r=this.getList();return r.sort(((r,o)=>r.isColor?o.getWeight(t,e)-r.getWeight(t,e):o.getMaxWeight(t,e)-r.getMaxWeight(t,e))),r[0].isColor?r[0]:r[0].getMaxWeightColor(t,e)}getMaxCountColor(){const t=this.getList();return t.sort(((t,e)=>t.isColor?e.count-t.count:e.getMaxCountColor()-t.getMaxCountColor())),t[0].isColor?t[0]:t[0].getMaxCountColor()}getColors(t,e,r){const o=this.getList().map((t=>{const{count:e}=t,r=t.getMaxCountColor();return r.count=e,r}));o.sort(((t,o)=>o.getWeight(e,r)-t.getWeight(e,r)));const i=[];return o.forEach((e=>{const r=i.find((r=>r.distance(e){if(Number(e)!==e||eo)throw new Error(`${t} is invalid`);return Number(e)};class i{constructor({pixels:t=i.pixelsDefault,distance:e=i.distanceDefault,saturationImportance:r=i.saturationImportanceDefault,splitPower:s=i.splitPowerDefault,colorValidator:n=i.colorValidatorDefault}={}){this.pixels=((t,e,r=0,o=Number.MAX_SAFE_INTEGER)=>{if(!Number.isInteger(e)||eo)throw new Error(`${t} is invalid`);return parseInt(e)})(\"pixels\",t,1),this.splitPower=o(\"splitPower\",s,2,16),this.distance=o(\"distance\",e,0,1),this.saturationImportance=o(\"saturationImportance\",r,0,1),this.colorValidator=((t,e)=>{if(!e||\"[object Function]\"!=={}.toString.call(e))throw new Error(`${t} is invalid`);return e})(\"colorValidator\",n)}process(t){const e=new r,o=this.splitPower;for(let r=0;r>4&15)<<2|(s>>4&15)<<1|n>>4&15,a=Math.round(i*(o-1)/255)*(o*o)+Math.round(s*(o-1)/255)*o+Math.round(n*(o-1)/255);e.addGroup(a).addGroup(r).addColor(t,i,s,n)}}return e.getColors(this.distance,this.saturationImportance,this.pixels)}extract(t){return this.process(t).map((t=>({hex:`#${\"0\".repeat(6-t.hex.toString(16).length)}${t.hex.toString(16)}`,red:t.red,green:t.green,blue:t.blue,area:t.count/this.pixels,saturation:t.getSaturation()})))}}i.pixelsDefault=1e4,i.distanceDefault=.2,i.saturationImportanceDefault=.2,i.splitPowerDefault=10,i.colorValidatorDefault=(t,e,r,o=255)=>o>250;const s=(t,e)=>new i(e).extract(t.data),n=(t,e)=>(t.crossOrigin=e&&e.crossOrigin||null,new Promise((r=>{const o=(t,e)=>{const o=new i(e),s=((t,e)=>{const r=t.width*t.height,o=r{t.removeEventListener(\"load\",r),o(t,e)};t.addEventListener(\"load\",r)}}))),a=(t,e)=>{const r=new Image;return r.src=t,n(r,e)};t.default=(t,e)=>t instanceof ImageData?new Promise((r=>{r(s(t,e))})):t instanceof Image?n(t,e):a(t,e),t.extractColorsFromImage=n,t.extractColorsFromImageData=s,t.extractColorsFromSrc=a,Object.defineProperty(t,\"__esModule\",{value:!0})}));\n","\n// ------------------------------------------\n// Rellax.js\n// Buttery smooth parallax library\n// Copyright (c) 2016 Moe Amaya (@moeamaya)\n// MIT license\n//\n// Thanks to Paraxify.js and Jaime Cabllero\n// for parallax concepts\n// ------------------------------------------\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define([], factory);\n } else if (typeof module === 'object' && module.exports) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = factory();\n } else {\n // Browser globals (root is window)\n root.Rellax = factory();\n }\n}(typeof window !== \"undefined\" ? window : global, function () {\n var Rellax = function(el, options){\n \"use strict\";\n\n var self = Object.create(Rellax.prototype);\n\n var posY = 0;\n var screenY = 0;\n var posX = 0;\n var screenX = 0;\n var blocks = [];\n var pause = true;\n\n // check what requestAnimationFrame to use, and if\n // it's not supported, use the onscroll event\n var loop = window.requestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n window.mozRequestAnimationFrame ||\n window.msRequestAnimationFrame ||\n window.oRequestAnimationFrame ||\n function(callback){ return setTimeout(callback, 1000 / 60); };\n\n // store the id for later use\n var loopId = null;\n\n // Test via a getter in the options object to see if the passive property is accessed\n var supportsPassive = false;\n try {\n var opts = Object.defineProperty({}, 'passive', {\n get: function() {\n supportsPassive = true;\n }\n });\n window.addEventListener(\"testPassive\", null, opts);\n window.removeEventListener(\"testPassive\", null, opts);\n } catch (e) {}\n\n // check what cancelAnimation method to use\n var clearLoop = window.cancelAnimationFrame || window.mozCancelAnimationFrame || clearTimeout;\n\n // check which transform property to use\n var transformProp = window.transformProp || (function(){\n var testEl = document.createElement('div');\n if (testEl.style.transform === null) {\n var vendors = ['Webkit', 'Moz', 'ms'];\n for (var vendor in vendors) {\n if (testEl.style[ vendors[vendor] + 'Transform' ] !== undefined) {\n return vendors[vendor] + 'Transform';\n }\n }\n }\n return 'transform';\n })();\n\n // Default Settings\n self.options = {\n speed: -2,\n\t verticalSpeed: null,\n\t horizontalSpeed: null,\n breakpoints: [576, 768, 1201],\n center: false,\n wrapper: null,\n relativeToWrapper: false,\n round: true,\n vertical: true,\n horizontal: false,\n verticalScrollAxis: \"y\",\n horizontalScrollAxis: \"x\",\n callback: function() {},\n };\n\n // User defined options (might have more in the future)\n if (options){\n Object.keys(options).forEach(function(key){\n self.options[key] = options[key];\n });\n }\n\n function validateCustomBreakpoints () {\n if (self.options.breakpoints.length === 3 && Array.isArray(self.options.breakpoints)) {\n var isAscending = true;\n var isNumerical = true;\n var lastVal;\n self.options.breakpoints.forEach(function (i) {\n if (typeof i !== 'number') isNumerical = false;\n if (lastVal !== null) {\n if (i < lastVal) isAscending = false;\n }\n lastVal = i;\n });\n if (isAscending && isNumerical) return;\n }\n // revert defaults if set incorrectly\n self.options.breakpoints = [576, 768, 1201];\n console.warn(\"Rellax: You must pass an array of 3 numbers in ascending order to the breakpoints option. Defaults reverted\");\n }\n\n if (options && options.breakpoints) {\n validateCustomBreakpoints();\n }\n\n // By default, rellax class\n if (!el) {\n el = '.rellax';\n }\n\n // check if el is a className or a node\n var elements = typeof el === 'string' ? document.querySelectorAll(el) : [el];\n\n // Now query selector\n if (elements.length > 0) {\n self.elems = elements;\n }\n\n // The elements don't exist\n else {\n console.warn(\"Rellax: The elements you're trying to select don't exist.\");\n return;\n }\n\n // Has a wrapper and it exists\n if (self.options.wrapper) {\n if (!self.options.wrapper.nodeType) {\n var wrapper = document.querySelector(self.options.wrapper);\n\n if (wrapper) {\n self.options.wrapper = wrapper;\n } else {\n console.warn(\"Rellax: The wrapper you're trying to use doesn't exist.\");\n return;\n }\n }\n }\n\n // set a placeholder for the current breakpoint\n var currentBreakpoint;\n\n // helper to determine current breakpoint\n var getCurrentBreakpoint = function (w) {\n var bp = self.options.breakpoints;\n if (w < bp[0]) return 'xs';\n if (w >= bp[0] && w < bp[1]) return 'sm';\n if (w >= bp[1] && w < bp[2]) return 'md';\n return 'lg';\n };\n\n // Get and cache initial position of all elements\n var cacheBlocks = function() {\n for (var i = 0; i < self.elems.length; i++){\n var block = createBlock(self.elems[i]);\n blocks.push(block);\n }\n };\n\n\n // Let's kick this script off\n // Build array for cached element values\n var init = function() {\n for (var i = 0; i < blocks.length; i++){\n self.elems[i].style.cssText = blocks[i].style;\n }\n\n blocks = [];\n\n screenY = window.innerHeight;\n screenX = window.innerWidth;\n currentBreakpoint = getCurrentBreakpoint(screenX);\n\n setPosition();\n\n cacheBlocks();\n\n animate();\n\n // If paused, unpause and set listener for window resizing events\n if (pause) {\n window.addEventListener('resize', init);\n pause = false;\n // Start the loop\n update();\n }\n };\n\n // We want to cache the parallax blocks'\n // values: base, top, height, speed\n // el: is dom object, return: el cache values\n var createBlock = function(el) {\n var dataPercentage = el.getAttribute( 'data-rellax-percentage' );\n var dataSpeed = el.getAttribute( 'data-rellax-speed' );\n var dataXsSpeed = el.getAttribute( 'data-rellax-xs-speed' );\n var dataMobileSpeed = el.getAttribute( 'data-rellax-mobile-speed' );\n var dataTabletSpeed = el.getAttribute( 'data-rellax-tablet-speed' );\n var dataDesktopSpeed = el.getAttribute( 'data-rellax-desktop-speed' );\n var dataVerticalSpeed = el.getAttribute('data-rellax-vertical-speed');\n var dataHorizontalSpeed = el.getAttribute('data-rellax-horizontal-speed');\n var dataVericalScrollAxis = el.getAttribute('data-rellax-vertical-scroll-axis');\n var dataHorizontalScrollAxis = el.getAttribute('data-rellax-horizontal-scroll-axis');\n var dataZindex = el.getAttribute( 'data-rellax-zindex' ) || 0;\n var dataMin = el.getAttribute( 'data-rellax-min' );\n var dataMax = el.getAttribute( 'data-rellax-max' );\n var dataMinX = el.getAttribute('data-rellax-min-x');\n var dataMaxX = el.getAttribute('data-rellax-max-x');\n var dataMinY = el.getAttribute('data-rellax-min-y');\n var dataMaxY = el.getAttribute('data-rellax-max-y');\n var mapBreakpoints;\n var breakpoints = true;\n\n if (!dataXsSpeed && !dataMobileSpeed && !dataTabletSpeed && !dataDesktopSpeed) {\n breakpoints = false;\n } else {\n mapBreakpoints = {\n 'xs': dataXsSpeed,\n 'sm': dataMobileSpeed,\n 'md': dataTabletSpeed,\n 'lg': dataDesktopSpeed\n };\n }\n\n // initializing at scrollY = 0 (top of browser), scrollX = 0 (left of browser)\n // ensures elements are positioned based on HTML layout.\n //\n // If the element has the percentage attribute, the posY and posX needs to be\n // the current scroll position's value, so that the elements are still positioned based on HTML layout\n var wrapperPosY = self.options.wrapper ? self.options.wrapper.scrollTop : (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop);\n // If the option relativeToWrapper is true, use the wrappers offset to top, subtracted from the current page scroll.\n if (self.options.relativeToWrapper) {\n var scrollPosY = (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop);\n wrapperPosY = scrollPosY - self.options.wrapper.offsetTop;\n }\n var posY = self.options.vertical ? ( dataPercentage || self.options.center ? wrapperPosY : 0 ) : 0;\n var posX = self.options.horizontal ? ( dataPercentage || self.options.center ? self.options.wrapper ? self.options.wrapper.scrollLeft : (window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft) : 0 ) : 0;\n\n var blockTop = posY + el.getBoundingClientRect().top;\n var blockHeight = el.clientHeight || el.offsetHeight || el.scrollHeight;\n\n var blockLeft = posX + el.getBoundingClientRect().left;\n var blockWidth = el.clientWidth || el.offsetWidth || el.scrollWidth;\n\n // apparently parallax equation everyone uses\n var percentageY = dataPercentage ? dataPercentage : (posY - blockTop + screenY) / (blockHeight + screenY);\n var percentageX = dataPercentage ? dataPercentage : (posX - blockLeft + screenX) / (blockWidth + screenX);\n if(self.options.center){ percentageX = 0.5; percentageY = 0.5; }\n\n // Optional individual block speed as data attr, otherwise global speed\n var speed = (breakpoints && mapBreakpoints[currentBreakpoint] !== null) ? Number(mapBreakpoints[currentBreakpoint]) : (dataSpeed ? dataSpeed : self.options.speed);\n var verticalSpeed = dataVerticalSpeed ? dataVerticalSpeed : self.options.verticalSpeed;\n var horizontalSpeed = dataHorizontalSpeed ? dataHorizontalSpeed : self.options.horizontalSpeed;\n\n // Optional individual block movement axis direction as data attr, otherwise gobal movement direction\n var verticalScrollAxis = dataVericalScrollAxis ? dataVericalScrollAxis : self.options.verticalScrollAxis;\n var horizontalScrollAxis = dataHorizontalScrollAxis ? dataHorizontalScrollAxis : self.options.horizontalScrollAxis;\n\n var bases = updatePosition(percentageX, percentageY, speed, verticalSpeed, horizontalSpeed);\n\n // ~~Store non-translate3d transforms~~\n // Store inline styles and extract transforms\n var style = el.style.cssText;\n var transform = '';\n\n // Check if there's an inline styled transform\n var searchResult = /transform\\s*:/i.exec(style);\n if (searchResult) {\n // Get the index of the transform\n var index = searchResult.index;\n\n // Trim the style to the transform point and get the following semi-colon index\n var trimmedStyle = style.slice(index);\n var delimiter = trimmedStyle.indexOf(';');\n\n // Remove \"transform\" string and save the attribute\n if (delimiter) {\n transform = \" \" + trimmedStyle.slice(11, delimiter).replace(/\\s/g,'');\n } else {\n transform = \" \" + trimmedStyle.slice(11).replace(/\\s/g,'');\n }\n }\n\n return {\n baseX: bases.x,\n baseY: bases.y,\n top: blockTop,\n left: blockLeft,\n height: blockHeight,\n width: blockWidth,\n speed: speed,\n verticalSpeed: verticalSpeed,\n horizontalSpeed: horizontalSpeed,\n verticalScrollAxis: verticalScrollAxis,\n horizontalScrollAxis: horizontalScrollAxis,\n style: style,\n transform: transform,\n zindex: dataZindex,\n min: dataMin,\n max: dataMax,\n minX: dataMinX,\n maxX: dataMaxX,\n minY: dataMinY,\n maxY: dataMaxY\n };\n };\n\n // set scroll position (posY, posX)\n // side effect method is not ideal, but okay for now\n // returns true if the scroll changed, false if nothing happened\n var setPosition = function() {\n var oldY = posY;\n var oldX = posX;\n\n posY = self.options.wrapper ? self.options.wrapper.scrollTop : (document.documentElement || document.body.parentNode || document.body).scrollTop || window.pageYOffset;\n posX = self.options.wrapper ? self.options.wrapper.scrollLeft : (document.documentElement || document.body.parentNode || document.body).scrollLeft || window.pageXOffset;\n // If option relativeToWrapper is true, use relative wrapper value instead.\n if (self.options.relativeToWrapper) {\n var scrollPosY = (document.documentElement || document.body.parentNode || document.body).scrollTop || window.pageYOffset;\n posY = scrollPosY - self.options.wrapper.offsetTop;\n }\n\n\n if (oldY != posY && self.options.vertical) {\n // scroll changed, return true\n return true;\n }\n\n if (oldX != posX && self.options.horizontal) {\n // scroll changed, return true\n return true;\n }\n\n // scroll did not change\n return false;\n };\n\n // Ahh a pure function, gets new transform value\n // based on scrollPosition and speed\n // Allow for decimal pixel values\n var updatePosition = function(percentageX, percentageY, speed, verticalSpeed, horizontalSpeed) {\n var result = {};\n var valueX = ((horizontalSpeed ? horizontalSpeed : speed) * (100 * (1 - percentageX)));\n var valueY = ((verticalSpeed ? verticalSpeed : speed) * (100 * (1 - percentageY)));\n\n result.x = self.options.round ? Math.round(valueX) : Math.round(valueX * 100) / 100;\n result.y = self.options.round ? Math.round(valueY) : Math.round(valueY * 100) / 100;\n\n return result;\n };\n\n // Remove event listeners and loop again\n var deferredUpdate = function() {\n window.removeEventListener('resize', deferredUpdate);\n window.removeEventListener('orientationchange', deferredUpdate);\n (self.options.wrapper ? self.options.wrapper : window).removeEventListener('scroll', deferredUpdate);\n (self.options.wrapper ? self.options.wrapper : document).removeEventListener('touchmove', deferredUpdate);\n\n // loop again\n loopId = loop(update);\n };\n\n // Loop\n var update = function() {\n if (setPosition() && pause === false) {\n animate();\n\n // loop again\n loopId = loop(update);\n } else {\n loopId = null;\n\n // Don't animate until we get a position updating event\n window.addEventListener('resize', deferredUpdate);\n window.addEventListener('orientationchange', deferredUpdate);\n (self.options.wrapper ? self.options.wrapper : window).addEventListener('scroll', deferredUpdate, supportsPassive ? { passive: true } : false);\n (self.options.wrapper ? self.options.wrapper : document).addEventListener('touchmove', deferredUpdate, supportsPassive ? { passive: true } : false);\n }\n };\n\n // Transform3d on parallax element\n var animate = function() {\n var positions;\n for (var i = 0; i < self.elems.length; i++){\n // Determine relevant movement directions\n var verticalScrollAxis = blocks[i].verticalScrollAxis.toLowerCase();\n var horizontalScrollAxis = blocks[i].horizontalScrollAxis.toLowerCase();\n var verticalScrollX = verticalScrollAxis.indexOf(\"x\") != -1 ? posY : 0;\n var verticalScrollY = verticalScrollAxis.indexOf(\"y\") != -1 ? posY : 0;\n var horizontalScrollX = horizontalScrollAxis.indexOf(\"x\") != -1 ? posX : 0;\n var horizontalScrollY = horizontalScrollAxis.indexOf(\"y\") != -1 ? posX : 0;\n\n var percentageY = ((verticalScrollY + horizontalScrollY - blocks[i].top + screenY) / (blocks[i].height + screenY));\n var percentageX = ((verticalScrollX + horizontalScrollX - blocks[i].left + screenX) / (blocks[i].width + screenX));\n\n // Subtracting initialize value, so element stays in same spot as HTML\n positions = updatePosition(percentageX, percentageY, blocks[i].speed, blocks[i].verticalSpeed, blocks[i].horizontalSpeed);\n var positionY = positions.y - blocks[i].baseY;\n var positionX = positions.x - blocks[i].baseX;\n\n // The next two \"if\" blocks go like this:\n // Check if a limit is defined (first \"min\", then \"max\");\n // Check if we need to change the Y or the X\n // (Currently working only if just one of the axes is enabled)\n // Then, check if the new position is inside the allowed limit\n // If so, use new position. If not, set position to limit.\n\n // Check if a min limit is defined\n if (blocks[i].min !== null) {\n if (self.options.vertical && !self.options.horizontal) {\n positionY = positionY <= blocks[i].min ? blocks[i].min : positionY;\n }\n if (self.options.horizontal && !self.options.vertical) {\n positionX = positionX <= blocks[i].min ? blocks[i].min : positionX;\n }\n }\n\n // Check if directional min limits are defined\n if (blocks[i].minY != null) {\n positionY = positionY <= blocks[i].minY ? blocks[i].minY : positionY;\n }\n if (blocks[i].minX != null) {\n positionX = positionX <= blocks[i].minX ? blocks[i].minX : positionX;\n }\n\n // Check if a max limit is defined\n if (blocks[i].max !== null) {\n if (self.options.vertical && !self.options.horizontal) {\n positionY = positionY >= blocks[i].max ? blocks[i].max : positionY;\n }\n if (self.options.horizontal && !self.options.vertical) {\n positionX = positionX >= blocks[i].max ? blocks[i].max : positionX;\n }\n }\n\n // Check if directional max limits are defined\n if (blocks[i].maxY != null) {\n positionY = positionY >= blocks[i].maxY ? blocks[i].maxY : positionY;\n }\n if (blocks[i].maxX != null) {\n positionX = positionX >= blocks[i].maxX ? blocks[i].maxX : positionX;\n }\n\n var zindex = blocks[i].zindex;\n\n // Move that element\n // (Set the new translation and append initial inline transforms.)\n var translate = 'translate3d(' + (self.options.horizontal ? positionX : '0') + 'px,' + (self.options.vertical ? positionY : '0') + 'px,' + zindex + 'px) ' + blocks[i].transform;\n self.elems[i].style[transformProp] = translate;\n }\n self.options.callback(positions);\n };\n\n self.destroy = function() {\n for (var i = 0; i < self.elems.length; i++){\n self.elems[i].style.cssText = blocks[i].style;\n }\n\n // Remove resize event listener if not pause, and pause\n if (!pause) {\n window.removeEventListener('resize', init);\n pause = true;\n }\n\n // Clear the animation loop to prevent possible memory leak\n clearLoop(loopId);\n loopId = null;\n };\n\n // Init\n init();\n\n // Allow to recalculate the initial values whenever we want\n self.refresh = init;\n\n return self;\n };\n return Rellax;\n}));\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import \"./custom/custom\";\r\nimport \"./custom/adSpace\";\r\nimport \"./custom/rellax-bois\";\r\nimport \"./custom/date-interval\";\r\nimport \"./custom/check_box\";\r\n// import \"./custom/custom-tooltip\";\r\nimport \"./custom/lightbox\";\r\nimport \"./custom/extract\";\r\n"],"names":["getDates","startDate","endDate","dates","currentDate","addDays","days","date","Date","valueOf","setDate","getDate","push","toLocaleDateString","call","dateCheckApply","fieldIdStart","fieldIdEnd","daysField","fieldId","disabledArray","disabledDays","startSplit","split","endSplit","inputField","document","getElementById","event","Event","bubbles","cancelable","dateStart","dateEnd","dateRange","console","log","filteredArray","filter","value","includes","length","diff","getTime","dateDiff","Math","round","next","dispatchEvent","style","cursor","pointerEvents","opacity","alert","jQuery","$","datepicker","addEventListener","getElementsByClassName","gform","addFilter","optionsObj","formId","minDate","datesHomeHead","Array","datesHomeNext","datesJobOverView","datesJobPage","datesBlog","fetch","then","data","json","i","home_header","home_next","job_overview","job_page","blog","firstDay","onSelect","beforeShowDay","formatDate","day","getDay","indexOf","formclass","urlParams","URLSearchParams","window","location","search","checkboxId","get","checkbox","checked","burger","menu","classList","contains","remove","add","subcheck","subMenu","nextElementSibling","subChildren","children","baseHeight","height","initIntIcon","closest","n","toggle","intIcons","filterForm","hourSelect","submitEvent","hours","querySelectorAll","a","form","checkies","evt","btn","submit","cat","province","disabled","click","selects","dropdown","insertAfter","newNode","referenceNode","parentNode","insertBefore","nextSibling","ajaxStart","addClass","ajaxStop","ads","node","cloneNode","noFound","removeAttribute","listing","on","e","preventDefault","ajax","type","url","dataType","action","postid","beforeSend","success","res","setTimeout","open","removeClass","extractColors","logo","src","getAttribute","header","querySelector","fallback","maxColor","options","pixels","distance","saturationImportance","splitPower","colorValidator","red","green","blue","alpha","crossOrigin","onload","color","hex","setAttribute","catch","error","warn","onerror","t","exports","module","define","amd","o","r","l","m","c","d","Object","defineProperty","enumerable","Symbol","toStringTag","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","concat","u","f","h","g","v","b","x","y","S","iterator","constructor","createElement","className","appendChild","createTextNode","head","w","props","getSourceTypeFromLocalStorageByUrl","handleReceivedSourceTypeForUrl","localStorage","setItem","JSON","stringify","disableLocalStorage","parse","getItem","L","elements","sources","adjustSize","maxSourceWidth","maxSourceHeight","width","C","collections","sourceSizers","sourceAnimationWrappers","sourceMainWrappers","resolve","runActions","removeChild","firstChild","F","handleImageLoad","target","naturalWidth","naturalHeight","handleVideoLoad","videoWidth","videoHeight","handleNotMetaDatedVideoLoad","handleYoutubeLoad","maxYoutubeDimensions","handleCustomLoad","offsetWidth","offsetHeight","A","customClasses","I","customAttributes","T","sourceLoadHandlers","E","videosPosters","onloadedmetadata","controls","poster","N","match","allowFullscreen","W","z","innerHTML","M","sourcesRenderFunctions","core","sourceDisplayFacade","runActionsForSourceTypeAndIndex","displaySourcesWhichShouldBeDisplayed","P","isUrlYoutubeOne","href","hostname","getTypeFromResponseContentType","slice","readyState","getResponseHeader","onreadystatechange","abort","setUrlToCheck","getSourceType","XMLHttpRequest","send","H","types","getTypeSetByClientForIndex","retrieveTypeWithXhrForIndex","k","componentsServices","hideSourceLoaderIfNotYetCollection","sourceWrappersContainer","O","createElementNS","setAttributeNS","R","title","D","fullscreenToggler","enterFullscreen","isFullscreenOpen","exitFullscreen","onclick","lightboxCloser","closeLightbox","j","container","stageIndexes","setSlideNumber","justifyContent","X","byValue","negative","zero","positive","transform","slideDistance","innerWidth","B","charAt","toUpperCase","U","V","eventsDispatcher","globalEventsController","scrollbarRecompensor","sourcePointerProps","isLightboxFadingOut","removeListeners","exitFullscreenOnClose","isPointering","documentElement","removeRecompense","body","dispatch","Y","sourceMainWrappersTransformers","classFacade","slideIndexChanger","stageManager","removeFromEachElementClassIfContains","pop","changeTo","current","updateStageIndexes","jumpTo","_","slideChangeFacade","listener","key","changeToPrevious","changeToNext","q","swipedX","runActionsForEvent","slideSwipingHoverer","screenX","downScreenX","previous","J","G","runPositiveSwipedXActions","runNegativeSwipedXActions","K","runNoSwipeActions","isSourceDownEventTarget","Q","Z","requestFullscreen","mozRequestFullScreen","webkitRequestFullscreen","msRequestFullscreen","mozCancelFullScreen","webkitExitFullscreen","msExitFullscreen","windowResizeActioner","attachListeners","removeEventListener","ne","innerHeight","marginRight","scrollbarWidth","addRecompense","removeProperty","getPreviousSlideIndex","getNextSlideIndex","sourcesPointerDown","tagName","loadOnlyCurrentSource","isSourceInStage","ee","visibility","msOverflowStyle","overflow","toString","te","isInitialized","lightboxOpener","arguments","oe","re","Reflect","construct","apply","Function","ie","sham","Proxy","setPrototypeOf","__proto__","se","isArray","ae","from","name","test","TypeError","ce","getElementsByTagName","hasAttribute","fsLightboxInstances","FsLightbox","substring","attributes","substr","keys","fsLightbox","unshift","lightboxUpdater","close","refreshFsLightbox","Rellax","rellax","speed","center","wrapper","vertical","horizontal"],"sourceRoot":""}